﻿using System;
using LibMSNP.MSNPProtocol;

namespace LibMSNP.Client
{
    public class MSNPDisconnectArgs : MSNPEventArgs
    {
        private IMSNPCommand _error;

        public MSNPDisconnectArgs(IMSNPCommand error)
        {
            _error = error;
        }

        public IMSNPCommand Reason
        {
            get { return _error; }
        }
    }
}
